﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
namespace BUS
{
    public class NhanVienBUS
    {
        public int DangNhap(String MaNV, String Pass)
        {
            NhanVienDAO dao = new NhanVienDAO();
            return dao.DangNhap(MaNV, Pass);
        }

        public NhanVienDTO LayThongTinNV(String MaNV)
        {
            NhanVienDAO dao = new NhanVienDAO();
            return dao.LayThongTinNV(MaNV);
        }
        public List<string> LayMaNV()
        {
            NhanVienDAO dao = new NhanVienDAO();
            return dao.LayMaNV();
        }
    }
}
